##删除匹配的元素

fruit=['apple','banana','pinapple']
fruit.remove('banana')

print(fruit)
